from fastapi import APIRouter


student_router = APIRouter()


@student_router.get("/student/list", tags=['学生'])
def list():
    return {"code":200, "msg":"OK", "data":[]}

@student_router.get("/student/get", tags=['学生'])
def getOne(xh:str):
    stu = {
        "name": "张三",
        "xh": '123123123',
        'age': 20
    }
    return {"code":200, "msg":"OK", "data":stu}